import { request } from "@/utils/request.js";
export function getTaskList(data){
	return request('task',data);
}

export function getTaskCategoryAll(data){
	return request('taskCategoryAll',data);
}

export function getTaskDetails(id){
	return request(`task/${id}`);
}

export function addTaskOrder(data){
	return request(`taskOrder`,data, 'POST');
}

export function getMemberTaskOrder(data){
	return request(`taskOrder`,data);
}

export function getTaskOrderStatus(){
	return request(`taskOrderStatus`);
}

export function allTask(){
	return request(`allTask`);
}

export function setProportion(data){
	return request(`setProportion`,data,'POST');
}


